resource migration in distributed system